//
//  SerialGroupView.h
//  XPhoto
//
//  Created by baboy on 2019/7/8.
//  Copyright © 2019 baboy. All rights reserved.
//

#import "BKView.h"

NS_ASSUME_NONNULL_BEGIN

@protocol SerialGroupViewDelegate;

@interface SerialGroupView : BKView
@property(nonatomic, strong) NSMutableArray *items;
@property(nonatomic, strong) NSString *title;
@property(nonatomic, assign) IBOutlet id delegate;
@property(nonatomic, assign) NSInteger selectedIndex;
@property(nonatomic, assign) BOOL loadMore;
@property(nonatomic, assign) IBInspectable BOOL showSubtitle;


- (CGFloat)height;
@end
@protocol SerialGroupViewDelegate <NSObject>
@optional
- (void)didClickedSerialGroupItemAtIndex:(NSInteger)index;
- (void)didClickedSerialGroupTitleButton:(UIButton *)button;
- (void)didClickedSerialGroupLoadingMoreButton:(UIButton *)button;
@end
NS_ASSUME_NONNULL_END
